<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    var j, t
    for (var i = 1; i <= 35; i++) {
      j = i0
      if ((j + (35 - j) == 35) && (2 * j + 4 * (35 - j) == 96)) {
        console.log('鸡： ' + j + '  兔：' + (35 - j))
      }
    }
  </script>
</body>

</html>